﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IM.Easy.Core.SeedData
{

    public interface ISqlSugarSeed
    {
        /// <summary>
        /// 初始化种子数据
        /// </summary>
        int Execute(SqlSugarScope db);
    }

    public interface ISqlSugarSeed<T> : ISqlSugarSeed where T : class, new()
    {
        /// <summary>
        /// 获取种子数据
        /// </summary>
        /// <returns></returns>
        //IEnumerable<T> GetSeedData();
    }
}
